#!/bin/bash
##一键推送至开发分支
time=`date '+%c' | sed "s# #_#g"`
ver=`date '+%m.%d'`
sed -i "s#时间:.*#时间:$time 更]\"#" ./config/help.sh
sed -i "s#v.*u#v${ver} u#" ./config/help.sh
if [[ -z "$1" ]];then
	echo -e "请在一参传入本次更新信息"
else
	git pull
	git add -A
	git commit -m "$1"
	git push origin master
fi
